Pass all formats via --extern for libs
authorAlex Crichton <alex@alexcrichton.com>
Sun, 13 Jul 2014 18:33:11 +0000 (11:33 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 13 Jul 2014 18:33:11 +0000 (11:33 -0700)
commit8defed61607c994ac36c8d518436aa35b513dc0c
tree5980d5703d02e92c6c5a21ef17c0682a5c608567
parentec0895b4605061d9af321e6800dcdb6544281e3d
Pass all formats via --extern for libs

While we support the `crate_type` key in the manifest, we need to pass through
all crate types to the `--extern` flag.

Closes #177
src/cargo/ops/cargo_rustc/context.rs
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_compile.rs